﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Krile.Forms.MainForm
{
    internal static class ControlSysExtender
    {
        internal static IFormEx GetParentForm(this Control ctrl)
        {
            return ctrl.FindForm() as IFormEx;
        }
    }
}
